package com.caesar.method_son;

import com.caesar.method_fa.Vehicle;

/**
 * @author caesar
 * @date 2025/7/8
 * @Description:
 * @apiNote
 */
public class Monocycle extends Vehicle {
    public Monocycle(int wheels) {
        super(wheels);
    }
    @Override
    public void drive()
    {
        System.out.println("脚踏独轮车，摇摇摆摆往前走");
    }

    @Override
    public String toString() {
        return "单轮车" + super.toString();
    }
}
